package com.mos.iot.mqtt.config;

import com.mos.iot.mqtt.constants.MqttConstants;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class MqttClientConfig {
    /**
     * 客户端ID
     */
    private String clientId = MqttConstants.DEFAULT_CLIENT_ID;
    /**
     * mqtt broker地址
     */
    private String broker;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String password;
    /**
     * 订阅主题
     */
    private List<MqttTopicConfig> topics;
}
